package cn.tedu.cwgl.mapper;

import cn.tedu.cwgl.entity.House;
import cn.tedu.cwgl.entity.Item;
import cn.tedu.cwgl.util.PageModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MoneyManageMapper {
    List<Item> getMoneyMange(PageModel<Item> model);

    int updateMon(Item item);

    int delect(int id);

    int addMonBefore(House house);

    int addMon(Item item);

    int getTotal(PageModel<Item> model);

    int delectBefore(int id);
}
